package builder.demo1;

public class Test {
    public static void main(String[] args) {
        // 创建指定的构建者
        ComputerBuilder builder = new HwComputerBuilder();
        // 创建指挥者对象
        Director director = new Director(builder);

        // 让指挥者组装
        Computer construct = director.construct();
        System.out.println(construct);
    }
}
